home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / comp / fetchfun.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  343 b   |  17 lines

  1. /*
  2.                            F E T C H F U N . C
  3. */
  4.  
  5. #include "iccomp.h"
  6.  
  7. unsigned fetchfun()
  8. {
  9.     register unsigned
  10.         index;
  11.  
  12.                                             /* test function defined */
  13.     if ((index = looksym(&funtab)) == funtab.n_defined)
  14.         semantic ("Function '%s()' not defined", string);
  15.  
  16.     return (index);
  17. }